package com.njitt.bysj.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ToString
public class ProjectQualityBean {
    private Integer id;

    private Integer qualityerId;

    private Integer purchaseId;

    private Integer projectId;

    private Integer qualityType;

    private Integer qualityStatus;
    private PurchaseRequestBean purchaseRequestBean;
    private EmpBean empBean;
    private ProjectBean projectBean;

    public EmpBean getEmpBean() {
        return empBean;
    }

    public void setEmpBean(EmpBean empBean) {
        this.empBean = empBean;
    }

    public ProjectBean getProjectBean() {
        return projectBean;
    }

    public void setProjectBean(ProjectBean projectBean) {
        this.projectBean = projectBean;
    }
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qualityCreateDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date qualityUpdateDate;

    public PurchaseRequestBean getPurchaseRequestBean() {
        return purchaseRequestBean;
    }

    public void setPurchaseRequestBean(PurchaseRequestBean purchaseRequestBean) {
        this.purchaseRequestBean = purchaseRequestBean;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQualityerId() {
        return qualityerId;
    }

    public void setQualityerId(Integer qualityerId) {
        this.qualityerId = qualityerId;
    }

    public Integer getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getQualityType() {
        return qualityType;
    }

    public void setQualityType(Integer qualityType) {
        this.qualityType = qualityType;
    }

    public Integer getQualityStatus() {
        return qualityStatus;
    }

    public void setQualityStatus(Integer qualityStatus) {
        this.qualityStatus = qualityStatus;
    }

    public Date getQualityCreateDate() {
        return qualityCreateDate;
    }

    public void setQualityCreateDate(Date qualityCreateDate) {
        this.qualityCreateDate = qualityCreateDate;
    }

    public Date getQualityUpdateDate() {
        return qualityUpdateDate;
    }

    public void setQualityUpdateDate(Date qualityUpdateDate) {
        this.qualityUpdateDate = qualityUpdateDate;
    }
}